package com.ruoyi.project.cyq.statistics.service;

import com.ruoyi.project.cyq.statistics.domain.IOrderGenre;

import java.util.List;

/**
 * @author 刘鹿
 * @date 2020-09-18 15:53
 */
public interface OrderGenreService {

    //查询数据
    public IOrderGenre selectGenreById(long genreId);

    //展示数据
    public List<IOrderGenre> selectGenreList(IOrderGenre iOrderGenre);

    //验证订单类别名称的唯一性
    public String checkGenreNameUnique(IOrderGenre iOrderGenre);

    //新增订单类别
    public int insertOrderGenre(IOrderGenre iOrderGenre);

    //修改数据
    int updateOrderGenre(IOrderGenre iOrderGenre);

    //删除数据
    int deleteOrderGenreByIds(long[] ids);
}
